import { defineStore } from "pinia";
import { getters } from "./getters";

export const useConfigStore = defineStore("user_list_store", {
	state: () => ({
		model: "row"
	}),
	getters,
	actions: {
		onUpdateModel(payload: string) {
			this.model = payload;
		}
	},
	persist: true,
});
